<template>
  <!-- 自选-coinmarket-list -->
  <ul class="coin-market-list">
    <li class="market-icon">
      <i
        class="iconfont"
        :class="isFav?'icon-xingxing selected-text':'icon-xing'"
        @click="favClick()"
      ></i>
    </li>
    <li class="market-pair">BTC/USDT</li>
    <li class="market-price">
      <span>1086.19</span>
      ￥77231.83
    </li>
    <li class="market-increase">+5.50%</li>
    <li class="day-val">227536640.85</li>
  </ul>
</template>
<script>
export default {
  data() {
    return {
      isFav: false
    };
  },

  methods: {
    /*
     * 自选按钮的点击
     */
    favClick() {
      this.isFav = !this.isFav;
    }
  },

  computed: {},

  created() {},

  mounted() {}
};
</script>
<style scoped>
</style>
